<div id="detalles<?php echo $num ?>"> 

    <?php echo $form['detalles'][$num]['producto_etiqueta_id'] ?>
    <?php echo $form['detalles'][$num]['nombre']->renderError() ?>
        <?php echo $form['detalles'][$num]['nombre'] ?><button id="dele_detalles<?php echo $num ?>" type="button"><?php echo "Quitar Detalles Adicional"?></button>


<script type="text/javascript">
  $('#dele_detalles<?php echo $num ?>').click(function() {
     
    $("#detalles<?php echo $num ?>").remove();
    
  });
</script></div>
